package hy.dao;

import hy.beans.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;
import org.springframework.web.bind.annotation.Mapping;

//@Repository
@Mapper
public interface UserMapper {
    @Select("select * from user where name=#{n}")
    User selectUserByName(String name);
}